<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #tip{
            width: 200px;
            height: 100px;
            margin: 10px auto;
            border: solid 2px red;
            background: url(https://www.baidu.com/img/PC_880906d2a4ad95f5fafb2e540c5cdad7.png) no-repeat center;
            background-size: 100% 100%;
        }
    </style>
</head>
<body>
    <div id="tip">今天天气很好</div>
</body>
</html>